import Vue from 'vue'
import App from './App.vue'
import router from './router/index'
import store from './store/index'
import './permission' // permission control
import './styles/app.scss' // baseCSS resetCSS
import Vant from 'vant'
import 'vant/lib/index.css'
Vue.use(Vant)

import * as filters from './filters' // global filters
Object.keys(filters).forEach(key => {
  Vue.filter(key, filters[key])
})
Vue.config.productionTip = false

new Vue({
  router,
  store,
  render: h => h(App)
}).$mount('#app')
